﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DSHVProfileGV.aspx.cs" Inherits="STT.Report.DSHVProfileGV" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        #PrintDiv {
            width: 800px;
        }
        .auto-style1 {
            text-align: center;
            
     
        }
    </style>
</head>
<body>
    <form id="form2" runat="server">
    <div class="auto-style1">
   <input type="button" onclick="printDiv('PrintDiv')" value=" In phiếu " />
        <asp:Button ID="btnDownload" runat="server" Text="Tải về" Width="76px" Height="24px" OnClick="btnDownload_Click" />
        <br />
&nbsp;<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    </div>
        <hr style="background-color:black"/>
 
    <div id="PrintDiv" style ="width:800px; text-align: center;">
    
        <asp:Literal ID="ltphieuthu" runat="server"></asp:Literal>
      
       
    
    </div>
      </form>
</body>
</html>
<script >
    function printDiv(divName) {
        var printContents = document.getElementById(divName).innerHTML;
        var originalContents = document.body.innerHTML;

        document.body.innerHTML = printContents;

        window.print();

        document.body.innerHTML = originalContents;
    }
</script>